package com.traffic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.traffic.entity.Resource;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: KingRainGrey
 * Date: 2020/9/8
 */
public interface ResourceService extends IService<Resource> {
    Resource save(Resource resource, String account, Integer kind, Integer type);

    String getImgUrl(Long id);

    Resource get(Long id);

    void delete(Long id);

    List<Resource> getCollectIcons();

}
